package com.tilaiedu.mvc.domain;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Author xlzhang
 * @Date 2022/5/24 11:33
 * @Version 1.0
 * @Description TODO
 */
@Data
public class User {
    private String name;
    private Integer age;
    private Double height;
    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    @DateTimeFormat(pattern = "yyyy年MM月dd日 HH:mm:ss")
    private LocalDateTime dateTime;
    private LocalDateTime dateTime2;
    private List<String> likes;
}
